package demo.controller;

import org.springframework.web.bind.annotation.*;


@RestController
public class HeaderController {

	@GetMapping("/header")
	public @ResponseBody String header(
			@RequestHeader(value="User-Agent") String userAgent) {
		return "user agent: " + userAgent;
	}
}